
weight = float(input("请输入您的体重："))

n = 0.5/weight
for i in range(10):
    weight = weight*(1+n)
print("On earth: {:.2f}kg".format(weight))
print("On moon: {:.2f}kg".format(0.165*weight))
